package com.zwl.service.impl;

import java.util.List;
import java.util.Map;

import com.zwl.dao.DeptDao;
import com.zwl.dao.impl.DeptDaoImpl;
import com.zwl.po.DeptPo;
import com.zwl.service.DeptService;

public class DeptServiceImpl implements DeptService {
	private DeptDao deptDao=new DeptDaoImpl();

	@Override
	public List<DeptPo> findByCondition(Map<String, Object> map) {
		return deptDao.findByCondition(map);
	}

	@Override
	public DeptPo findbyId(Integer id) {
		return deptDao.findbyId(id);
	}
	
}
